<script type="text/javascript">
    function getHTML(v,type)
    {	
        var url = '../ajax_back_end.php';
        var sj = new Date();
        if(type==1)
            var pars = 'shuiji=' + sj+'&prov_id='+v;
        if(type==2)
            var pars = 'shuiji=' + sj+'&catid='+v;
        var myAjax = new Ajax.Request(
        url,
        {method: 'post', parameters: pars, onComplete: showResponse}
    );
        function showResponse(originalRequest)
        {
            if(type==1)
                var ob="city";
            else
                var ob="subcat";
            var tempStr = 'var MyMe = ' + originalRequest.responseText; 
            var i=0;var j=0;
            eval(tempStr);
            for(var s in MyMe)
            {
                ++j;
            }
            $(ob).options.length =j+1;
            for(var k in MyMe)
            {
                var cityId=MyMe[k][0];
                var ciytName=MyMe[k][1];
                i++;
                $(ob).options[i].value = cityId;
                $(ob).options[i].text = ciytName;
                //if(subcat==cityId)
                //$(ob).options[i].selected = true;
            }	
        }
    }
</script>
<div class="middle-newslist">
    <div class="Middle-two-content-left-newlist3">
        <div class="Middle-two-content-Middle-top">
            <span class="feiji">企业招聘列表</span>																		
        </div>
<!--        <div class="Middle-two-content-Middle-button-top-company">
            <div class="Middle-two-content-Middle-button-top-company2">
                <span class="one">公司名称</span>
                <span class="two"> 招聘职位</span>
                <span class="two">工作地点</span>
                <span class="two">职位月薪</span>
                <span class="three">发布时间</span>
            </div>
        </div>-->
        <div class="Middle-two-content-Middle-top-newlist2-zhaopin">
            <table width="679" bordercolor="#CCCCCC" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;">
                <tr class="jtabtitle">
                    <td width="163">公司名称</td>
                    <td width="182">招聘职位</td>
                    <td width="102">工作地点</td>
                    <td width="96">职位月薪</td>
                    <td width="100">发布时间</td>
                </tr>
                <{foreach item=list from=$re.list}>	
                <tr>
                    <td height="30" style="color:#666666; font-weight:bold; font-size:13px; text-align:center;"><a href="<{geturl type='' uid=$list.userid user=$list.user}>" target="_blank"><{$list.company|truncate:24}></a></td>
                    <td style="text-align:center;"><a href="<{$config.weburl}>/?m=job&s=job_detail&id=<{$list.id}>" target="_blank"><{$list.title}></a></td>
                    <td style="text-align:center;"><{$list.province}>-<{$list.city}></td>
                    <td style="text-align:center;"><{foreach item=val key=num from=$hrmoney}><{if $num==$list.money}><{$val}><{/if}><{/foreach}></td>
                    <td style="text-align:center;">[<{$list.uptime|date_format}>] </td>
                </tr>
                <{/foreach}>
                <tr>
                    <td height="30" colspan="5"><{$re.page}></td>
                </tr>
            </table>
        </div>
    </div>
    <div class="Middle-two-content-right-newlist2">
        <div class="Middle-two-content-right2">
            <div class="Middle-two-content-right-newlist-top">
                <span class="xinpin">企业新闻</span>
                <span class="fuhao">>></span>
                <span class="gengduo">更多</span>
            </div>
            <div class="xhdongtai">
                <ul>
                    <{insert name="getNews" limit=4 leng=20 catid=167 istime=true}>
                </ul>
            </div>
            
            
        </div>
        <div class="Middle-two-content-right-newlist">
            <div class="Middle-two-content-right-newlist-top">
                <span class="xinpin">本周热点新闻排行</span>
                <span class="fuhao">>></span>
                <span class="gengduo"><a href="index.php?m=news&s=news_list&type=top">更多</a></span>
            </div>
            <div class="xhdongtai">
                <ul>
                    <{foreach from=$weektop item=list key=k}>
                    <li><span class="left"><a target="_blank" href="?m=news&s=newsd&id=<{$list.nid}>">·<{$list.title|truncate_cn:"10":""}></a></span><span class="right">[2012-8-7]</span></li>
                    <{/foreach}>
                </ul>
            </div>
        </div>
    </div>